g-i: add missing nullable annotation
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Thu, 30 Dec 2021 16:52:53 +0000 (16:52 +0000)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Thu, 30 Dec 2021 16:52:53 +0000 (16:52 +0000)
the constructor takes a nullable expression parameter, so should the getter be

gtk/gtkexpression.c

index 8cd72f802fe9d9cf3d30548cd7acf97abb7b0819..14bea1111b0af02a0ce544edffc8dc01c17d37e2 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright © 2019 Benjamin Otte
  *
@@ -1372,7 +1371,7 @@ gtk_property_expression_new_for_pspec (GtkExpression *expression,
  * Gets the expression specifying the object of
  * a property expression.
  *
- * Returns: (transfer none): the object expression
+ * Returns: (transfer none) (nullable): the object expression
  */
 GtkExpression *
 gtk_property_expression_get_expression (GtkExpression *expression)